package com.canaan.business.domain.inOutStock;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 回库单明细对象 wms_return_stock_bill_detail
 *
 * @author canaan
 * @date 2025-04-02
 */
@ApiModel(description = "wms_return_stock_bill_detail")
@TableName("wms_return_stock_bill_detail")
public class ReturnStockBillDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 单据明细编号 */
    @Excel(name = "单据明细编号")
    @ApiModelProperty("单据明细编号")
    private String no;

    /** 单据编号 */
    @Excel(name = "单据编号")
    @ApiModelProperty("单据编号")
    private String orderNo;

    /** 单据明细状态 1新建 2分配中，3已完成，4拣货中，5已取消 */
    @Excel(name = "单据明细状态 1新建 2分配中，3已完成，4拣货中，5已取消")
    @ApiModelProperty("单据明细状态 1新建 2分配中，3已完成，4拣货中，5已取消")
    private Integer status;

    /** 物料编号 */
    @Excel(name = "物料编号")
    @ApiModelProperty("物料编号")
    private String productNo;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String productName;

    /** 物料单位 */
    @Excel(name = "物料单位")
    @ApiModelProperty("物料单位")
    private String productUnit;

    /** 批次 */
    @Excel(name = "批次")
    @ApiModelProperty("批次")
    private String batchNo;

    /** 订单数量 */
    @Excel(name = "订单数量")
    @ApiModelProperty("订单数量")
    private Long qty;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("订单数量")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setProductUnit(String productUnit)
    {
        this.productUnit = productUnit;
    }

    public String getProductUnit()
    {
        return productUnit;
    }
    public void setBatchNo(String batchNo)
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo()
    {
        return batchNo;
    }
    public void setQty(Long qty)
    {
        this.qty = qty;
    }

    public Long getQty()
    {
        return qty;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("no", getNo())
                .append("orderNo", getOrderNo())
                .append("status", getStatus())
                .append("productNo", getProductNo())
                .append("productName", getProductName())
                .append("productUnit", getProductUnit())
                .append("batchNo", getBatchNo())
                .append("qty", getQty())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("createTime", getCreateTime())
                .toString();
    }
}
